package com.example.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Spring应用配置类
 */
@Configuration
@ComponentScan(basePackages = "com.example")
@EnableAspectJAutoProxy // 启用AspectJ自动代理，使AOP生效
public class AppConfig {
}
